package com.gjy.pd.factoryabstract;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2022-12-15 10:08:34
 */
public class AbstractFactoryTest {

    public static void main(String[] args) {

        AbstractFactory abstractFactory = new BFactory();
        System.out.println(abstractFactory.productA());
        System.out.println(abstractFactory.productB());
    }
}
